<style type="text/css"> 
#myModal {
    position:absolute;
    top: 25%;
    left: 50%;
    width:30em;
    height:18em;
    margin-top: -9em; /*set to a negative number 1/2 of your height*/
    margin-left: -15em; /*set to a negative number 1/2 of your width*/
    border: 1px solid #ccc;
    background-color: #f3f3f3;
}

</style>

<div class="row">

			<div class="span8" style="height:420px;">
				<div style="padding-left:20px">
				<h2><%=(@project.name).html_safe%></h2> <% if admin_authenticated? %>
					
					<p><%= link_to "[edit]" , edit_project_path(@project)%> </p>
					<% end %>
					<div style="margin-top:10px;width:1000px;display:inline-block">
						<%= image_tag(@project.photo.url, :size => "500x200") %>
					</div>
					<div >
						
						
						</br>
						<p><%=(@project.description).html_safe%></p>
						
						
					</div>
					</div>
			
				</div>
				
			
			<div class="span4">
				<div style="height:400px;border-left:1px solid #a0a0a0;padding-left:20px;width:330px;overflow:auto;">
					<% @allTestimonials.each do |testimonial| %>
				<% if testimonial.program == @project.id %> 
					<a href="/events/<%=event.id%>" style="color:black"><div style="vertical-align:center;border:2px solid;margin-bottom:20px;margin-right:10px;padding:10px;display:table;background-color:#eeeee0">
						<div style="vertical-align:middle;display:table-cell"> <%= image_tag(testimonial.image_link, :size => "50x64") %> </div>
						
					</div></a>
					<% end %> 
					<% end %>
				</div>
			</div>
		
	</div>
